package com.ruoyi.develop.goodsSaledoGongxuUser.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.goodsSaledoGongxu.domain.GoodsSaledoGongxu;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单产品工序分配任务对象 goods_saledo_gongxu_user
 *
 * @author qh
 * @date 2024-11-11
 */
public class GoodsSaledoGongxuUser extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 序号 */
    @Excel(name = "序号")
    private String xuhao;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String code;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String name;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 工序说明 */
    @Excel(name = "工序说明")
    private String shuoming;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 销售产品关联id */
    @Excel(name = "销售产品关联id")
    private String saleId;

    /** 产品id */
    @Excel(name = "产品id")
    private String goodsId;

    /** 工艺id */
    @Excel(name = "工艺id")
    private String gongyiId;

    /** 工序id */
    @Excel(name = "工序id")
    private String gongxuId;

    /** 工艺编码 */
    @Excel(name = "工艺编码")
    private String gongyiCode;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String goodsCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String goodsName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String goodsModel;

    /** 型号明细 */
    @Excel(name = "型号明细")
    private String goodsBrand;

    /** 实际开始时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date doStartTime;

    /** 实际完成时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date doEndTime;

    /** 计划开始时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planStartTime;

    /** 计划完成时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planEndTime;

    /** 工人id */
    @Excel(name = "工人id")
    private String userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal money;

    /** 分配数量 */
    @Excel(name = "分配数量")
    private BigDecimal count;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal allMoney;

    /** 剩余完成数量 */
    @Excel(name = "剩余完成数量")
    private BigDecimal remainCount;

    private String parentId;

    private String[] ids;

    private String userIds;

    private String type;
    private BigDecimal hour;
    private String deptName;

    private String prodNo;
    private String prodCode;
    private String prodName;
    private String prodXinghao;
    private String prodMiaoshu;
    private String prodDaleDate;
    private String gongxuModel;
    private String gongxuName;
    private String islast;
    private String gongchengName;

    private String[] userIdss;
    private String workHour;
    private String paigongTime;

    public String getPaigongTime() {
        return paigongTime;
    }

    public void setPaigongTime(String paigongTime) {
        this.paigongTime = paigongTime;
    }

    public String getWorkHour() {
        return workHour;
    }

    public void setWorkHour(String workHour) {
        this.workHour = workHour;
    }

    public String[] getUserIdss() {
        return userIdss;
    }

    public void setUserIdss(String[] userIdss) {
        this.userIdss = userIdss;
    }

    public String getGongchengName() {
        return gongchengName;
    }

    public void setGongchengName(String gongchengName) {
        this.gongchengName = gongchengName;
    }

    public String getIslast() {
        return islast;
    }

    public void setIslast(String islast) {
        this.islast = islast;
    }

    public String getGongxuModel() {
        return gongxuModel;
    }

    public void setGongxuModel(String gongxuModel) {
        this.gongxuModel = gongxuModel;
    }

    public String getGongxuName() {
        return gongxuName;
    }

    public void setGongxuName(String gongxuName) {
        this.gongxuName = gongxuName;
    }

    public String getProdNo() {
        return prodNo;
    }

    public void setProdNo(String prodNo) {
        this.prodNo = prodNo;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdXinghao() {
        return prodXinghao;
    }

    public void setProdXinghao(String prodXinghao) {
        this.prodXinghao = prodXinghao;
    }

    public String getProdMiaoshu() {
        return prodMiaoshu;
    }

    public void setProdMiaoshu(String prodMiaoshu) {
        this.prodMiaoshu = prodMiaoshu;
    }

    public String getProdDaleDate() {
        return prodDaleDate;
    }

    public void setProdDaleDate(String prodDaleDate) {
        this.prodDaleDate = prodDaleDate;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getHour() {
        return hour;
    }

    public void setHour(BigDecimal hour) {
        this.hour = hour;
    }
    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    private BigDecimal finishCount;

    public List<GoodsSaledoGongxu> columnsGongxu;

    public List<GoodsSaledoGongxu> getColumnsGongxu() {
        return columnsGongxu;
    }

    public void setColumnsGongxu(List<GoodsSaledoGongxu> columnsGongxu) {
        this.columnsGongxu = columnsGongxu;
    }

    public BigDecimal getFinishCount() {
        return finishCount;
    }

    public void setFinishCount(BigDecimal finishCount) {
        this.finishCount = finishCount;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setXuhao(String xuhao)
            {
            this.xuhao = xuhao;
            }

    public String getXuhao()
            {
            return xuhao;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setShuoming(String shuoming)
            {
            this.shuoming = shuoming;
            }

    public String getShuoming()
            {
            return shuoming;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setProjectCode(String projectCode)
            {
            this.projectCode = projectCode;
            }

    public String getProjectCode()
            {
            return projectCode;
            }
    public void setProjectName(String projectName)
            {
            this.projectName = projectName;
            }

    public String getProjectName()
            {
            return projectName;
            }
    public void setSaleId(String saleId)
            {
            this.saleId = saleId;
            }

    public String getSaleId()
            {
            return saleId;
            }
    public void setGoodsId(String goodsId)
            {
            this.goodsId = goodsId;
            }

    public String getGoodsId()
            {
            return goodsId;
            }
    public void setGongyiId(String gongyiId)
            {
            this.gongyiId = gongyiId;
            }

    public String getGongyiId()
            {
            return gongyiId;
            }
    public void setGongxuId(String gongxuId)
            {
            this.gongxuId = gongxuId;
            }

    public String getGongxuId()
            {
            return gongxuId;
            }
    public void setGongyiCode(String gongyiCode)
            {
            this.gongyiCode = gongyiCode;
            }

    public String getGongyiCode()
            {
            return gongyiCode;
            }
    public void setGoodsCode(String goodsCode)
            {
            this.goodsCode = goodsCode;
            }

    public String getGoodsCode()
            {
            return goodsCode;
            }
    public void setGoodsName(String goodsName)
            {
            this.goodsName = goodsName;
            }

    public String getGoodsName()
            {
            return goodsName;
            }
    public void setGoodsModel(String goodsModel)
            {
            this.goodsModel = goodsModel;
            }

    public String getGoodsModel()
            {
            return goodsModel;
            }
    public void setGoodsBrand(String goodsBrand)
            {
            this.goodsBrand = goodsBrand;
            }

    public String getGoodsBrand()
            {
            return goodsBrand;
            }
    public void setDoStartTime(Date doStartTime)
            {
            this.doStartTime = doStartTime;
            }

    public Date getDoStartTime()
            {
            return doStartTime;
            }
    public void setDoEndTime(Date doEndTime)
            {
            this.doEndTime = doEndTime;
            }

    public Date getDoEndTime()
            {
            return doEndTime;
            }
    public void setPlanStartTime(Date planStartTime)
            {
            this.planStartTime = planStartTime;
            }

    public Date getPlanStartTime()
            {
            return planStartTime;
            }
    public void setPlanEndTime(Date planEndTime)
            {
            this.planEndTime = planEndTime;
            }

    public Date getPlanEndTime()
            {
            return planEndTime;
            }
    public void setUserId(String userId)
            {
            this.userId = userId;
            }

    public String getUserId()
            {
            return userId;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setMoney(BigDecimal money)
            {
            this.money = money;
            }

    public BigDecimal getMoney()
            {
            return money;
            }
    public void setCount(BigDecimal count)
            {
            this.count = count;
            }

    public BigDecimal getCount()
            {
            return count;
            }
    public void setAllMoney(BigDecimal allMoney)
            {
            this.allMoney = allMoney;
            }

    public BigDecimal getAllMoney()
            {
            return allMoney;
            }
    public void setRemainCount(BigDecimal remainCount)
            {
            this.remainCount = remainCount;
            }

    public BigDecimal getRemainCount()
            {
            return remainCount;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("xuhao",getXuhao())
            .append("code",getCode())
            .append("name",getName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("shuoming",getShuoming())
            .append("status",getStatus())
            .append("projectId",getProjectId())
            .append("projectCode",getProjectCode())
            .append("projectName",getProjectName())
            .append("saleId",getSaleId())
            .append("goodsId",getGoodsId())
            .append("gongyiId",getGongyiId())
            .append("gongxuId",getGongxuId())
            .append("gongyiCode",getGongyiCode())
            .append("goodsCode",getGoodsCode())
            .append("goodsName",getGoodsName())
            .append("goodsModel",getGoodsModel())
            .append("goodsBrand",getGoodsBrand())
            .append("doStartTime",getDoStartTime())
            .append("doEndTime",getDoEndTime())
            .append("planStartTime",getPlanStartTime())
            .append("planEndTime",getPlanEndTime())
            .append("userId",getUserId())
            .append("userName",getUserName())
            .append("money",getMoney())
            .append("count",getCount())
            .append("allMoney",getAllMoney())
            .append("remainCount",getRemainCount())
        .toString();
    }
}
